flexiciousNmsp.SpinnerBehavior Class
Attaches the spinner behavior to the owner component. When the startspin method of this behavior is called, the behavior will instantiate a new spinner based on the owners Spinner Factory, and position it in the middle of the owner components display area. When the stop spin method is called, the behavior will remove the spinner from the owner component and stop the spin.
Constructor
flexiciousNmsp.SpinnerBehavior
()
Methods
hideSpinner
()
Removes the spinner and sets the bodyContainer.alpha back to 1
kill
()
showSpinner
()
Shows the spinner with default values defined below:
Label: "Loading please wait"
X Position : center X of the grid
Y Position : center Y of the grid
Grid Alpa when the spinner is active : 0.3
Spinner appearance can be modified using styles
.
Properties
label
Label
The label that displays below the spinner while it is spinning.
ownerComponent
UIComponent
The spinner associates itself with this component
spinnerVisible
Boolean
Whether or not this control is visible.
Default: false